﻿/*.layout-head { position: fixed; z-index: 999; top: 0px; left: 0px; width: 100%; height: 40px; line-height: 40px; color: #fff; background: -webkit-gradient(linear,0 0,0 100%,from(rgba(9, 94, 165,1)),to(rgba(9, 94, 165, 0.60)) ); background: -ms-linear-gradient(rgba(9, 94, 165,1) 0%, rgba(9, 94, 165, 0.60) 100%); box-shadow: 0px 1px 10px rgba(0,0,0,0.8); transition: all linear .2s; }*/
.layout-head { position: fixed; z-index: 999; top: 0px; left: 0px; width: 100%; height: 40px; line-height: 40px; color: #fff; background:rgb(0,153,204); }
.layout-head .head-title { cursor: pointer; float: left; font-size: 20px; font-weight: bolder; margin-right: 20px; }
/*.layout-head .head-title:hover { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #FF1177, 0 0 35px #FF1177, 0 0 40px #FF1177, 0 0 50px #FF1177, 0 0 75px #FF1177; }*/
.layout-head .head-main { width: 1000px; margin: auto; height: 100%; }

.layout-head ul.head-menu li.item {float: left; font-size: 14px; width: 100px; position: relative; -ms-transition: all ease 0.3s; -moz-transition: all ease 0.3s; -webkit-transition: all ease 0.3s; -o-transition: all ease 0.3s; transition: all ease 0.3s; }

/*.layout-head ul.head-menu li.item:hover { background-color: #fff; }

.layout-head ul.head-menu li.item:hover a { color: #0a0a0a; }*/

.layout-head ul.head-menu li.item a { color: #666; cursor: pointer; display: block; height: 100%; width: 100%; }

.layout-head ul.head-menu li.item ul { display: none; min-width: 180px; background-color: #fff; box-shadow: 0px 0px 5px rgba(0,0,0,0.7); border-radius: 0px 0px 5px 5px; }

.layout-head ul.head-menu li.item ul li.sub-item { border-bottom: 1px solid #ccc; margin: 1px 0px; min-height: 30px; line-height: 30px; }

.layout-head ul.head-menu li.item ul li.sub-item a { color: #0a0a0a; }

.layout-head ul.head-menu li.item ul li.sub-item a:hover { background-color: rgba(0,0,255,0.5); }

.layout-head ul.head-menu li.item ul li.sub-item a.select { background-color: rgba(0,0,255,0.8); color: #fff; }

.layout-head ul.head-menu li.item:hover ul { display: block; }


/*---滚动条默认显示样式--*/
::-webkit-scrollbar-thumb{  
   background-color:#7cc6f6;  
   height:50px;  
   outline-offset:-2px;  
   outline:2px solid #fff;  
   -webkit-border-radius:4px;  
   border: 2px solid #fff;  
}  
 
::-webkit-scrollbar-thumb:hover{  
   background-color:#FB4446;  
   height:50px;  
   -webkit-border-radius:4px;  
}  
 
::-webkit-scrollbar{  
   width:8px;  
   height:8px;  
}  
 
::-webkit-scrollbar-track-piece{  
   background-color:#fff;  
   -webkit-border-radius:0;  
}

.bubble {
    max-width: 500px;
    min-height: 1em;
    display: inline-block;
    vertical-align: top;
    position: relative;
    text-align: left;
    font-size: 14px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin: 0 10px;
}

    .bubble.bubble_default {
        background-color: #fff;
    }

    .bubble:before, .bubble:after {
        position: absolute;
        top: 14px;
        border: 6px solid transparent;
        content: " ";
    }

    .bubble.left:before, .bubble.left:after {
        right: 100%;
    }

    .bubble.left:after {
        border-right-color: #FFF;
        border-right-width: 4px;
    }

    .bubble.right:before, .bubble.right:after {
        left: 100%;
    }

    .bubble.right:after {
        border-left-color: #FFF;
    }

    .bubble.bubble_primary {
        background-color: #7cc6f6;
    }

        .bubble.bubble_primary.left:after {
            border-right-color: #7cc6f6;
            border-right-width: 4px;
        }

        .bubble.bubble_primary.right:after {
            border-left-color: #7cc6f6;
            border-left-width: 4px;
        }

        .bubble.bubble_primary.right.arrow_primary:before {
            border-left-color: #7cc6f6;
            border-left-width: 4px;
        }

        .bubble.bubble_primary.right.arrow_primary:after {
            border-left-color: #fff;
            border-left-width: 4px;
            margin-left: -2px;
        }

    .bubble.no_arrow:before, .bubble.no_arrow:after {
        display: none;
    }

    .bubble.fill {
        padding: 0;
    }

        .bubble.fill img {
            display: block;
            cursor: pointer;
        }

.bubble_hd {
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 7px;
    margin-bottom: 5px;
}

.bubble_primary .bubble_hd {
    border-bottom: 1px solid #75bf50;
}

.bubble_cont {
    word-wrap: break-word;
    word-break: break-all;
    min-height: 25px;
}

    .bubble_cont li {
        overflow: hidden;
        color: #888;
    }

    .bubble_cont img {
        vertical-align: middle;
    }

    .bubble_cont .plain {
        padding: 9px 13px;
    }

        .bubble_cont .plain .ico_loading {
            position: absolute;
            right: 100%;
            top: 50%;
            margin-top: -7px;
            margin-right: 13px;
        }

        .bubble_cont .plain .ico_fail {
            position: absolute;
            right: 100%;
            top: 50%;
            margin-top: -11px;
            margin-right: 9px;
            cursor: pointer;
        }

    .bubble_cont .voice {
        padding: 7px 13px;
        width: 150px;
        max-width: 300px;
        cursor: pointer;
        position: relative;
    }

        .bubble_cont .voice:after {
            display: block;
            content: '';
            clear: both;
        }

        .bubble_cont .voice .duration {
            position: absolute;
            right: -77px;
            width: 55px;
            color: #888;
            cursor: default;
        }

            .bubble_cont .voice .duration i {
                margin-left: 5px;
            }

        .bubble_cont .voice .flag {
            position: absolute;
            right: -53px;
        }

    .bubble_cont .app {
        padding: 7px 13px;
        background-color: #fff;
        margin: 2px;
        display: block;
        overflow: hidden;
        text-decoration: none;
        max-width: 300px;
        min-width: 250px;
    }

        .bubble_cont .app .title {
            font-weight: 400;
            margin-bottom: 10px;
            color: #333;
        }

        .bubble_cont .app .cover {
            width: 80px;
            height: 80px;
            float: left;
            border-radius: 4px;
            -moz-border-radius: 4px;
            -webkit-border-radius: 4px;
            margin-right: 10px;
        }

        .bubble_cont .app .desc {
            overflow: hidden;
            color: #888;
            max-height: 5em;
            word-break: break-all;
        }

    .bubble_cont .card {
        padding: 7px 13px;
        margin: 2px;
        background-color: #fff;
        width: 250px;
        cursor: pointer;
        position: relative;
    }

        .bubble_cont .card .card_hd {
            border-bottom: 1px dotted #dedede;
            margin-bottom: 10px;
            padding: 0 7px;
        }

        .bubble_cont .card .card_avatar {
            display: table-cell;
            vertical-align: middle;
            word-wrap: break-word;
            word-break: break-all;
            white-space: nowrap;
            padding-right: 10px;
        }

            .bubble_cont .card .card_avatar .img {
                width: 42px;
                height: 42px;
                border-radius: 4px;
                -moz-border-radius: 4px;
                -webkit-border-radius: 4px;
            }

        .bubble_cont .card .info {
            display: table-cell;
            vertical-align: middle;
            word-wrap: break-word;
            word-break: break-all;
            width: 2000px;
        }

            .bubble_cont .card .info .display_name {
                font-weight: 400;
                font-size: 14px;
            }

            .bubble_cont .card .info .signature {
                font-size: 14px;
                color: #888;
            }

        .bubble_cont .card:after {
            display: block;
            content: '';
            position: absolute;
            top: 8px;
            z-index: 99;
            border: 7px solid transparent;
            border-left-color: #fff;
        }

    .bubble_cont .picture {
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        overflow: hidden;
        position: relative;
    }

        .bubble_cont .picture img {
            display: block;
            cursor: pointer;
            max-width: 350px;
            max-height: 240px;
        }

        .bubble_cont .picture .loading {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: #000;
            filter: alpha(opacity=50);
            -moz-opacity: .5;
            -khtml-opacity: .5;
            opacity: .5;
        }

            .bubble_cont .picture .loading img {
                position: absolute;
                left: 50%;
                top: 50%;
                margin-left: -8px;
                margin-top: -8px;
            }

    .bubble_cont .luckmoney {
        background-color: #fa9d3b;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        position: relative;
    }

        .bubble_cont .luckmoney:after {
            position: absolute;
            content: '';
            top: 10px;
            left: -14px;
            z-index: 99;
            border: 7px solid transparent;
            border-right-color: #FA9D3B;
        }

        .bubble_cont .luckmoney .cover {
            float: left;
            margin-right: 10px;
        }

            .bubble_cont .luckmoney .cover .img {
                width: 40px;
                height: 60px;
            }

        .bubble_cont .luckmoney .cont {
            overflow: hidden;
        }

            .bubble_cont .luckmoney .cont .title {
                font-weight: 400;
                color: #fff;
            }

            .bubble_cont .luckmoney .cont .desc {
                color: #fff;
            }

    .bubble_cont .luckmoney_bd {
        overflow: hidden;
        padding: 10px;
    }

    .bubble_cont .luckmoney_ft {
        background-color: #fff;
        padding: 5px 0;
        border-bottom-left-radius: 4px;
        -moz-border-radius-bottomleft: 4px;
        -webkit-border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        -moz-border-radius-bottomright: 4px;
        -webkit-border-bottom-right-radius: 4px;
        overflow: hidden;
    }

        .bubble_cont .luckmoney_ft p {
            color: #888;
            padding-left: 10px;
        }

    .bubble_cont .video {
        position: relative;
        cursor: pointer;
    }

        .bubble_cont .video img {
            max-width: 200px;
            max-height: 150px;
        }

        .bubble_cont .video .web_wechat_paly {
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -27px;
            margin-left: -27px;
        }

    .bubble_cont .microvideo .web_wechat_paly {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -27px;
        margin-left: -27px;
    }

    .bubble_cont .microvideo .loaded + .web_wechat_paly {
        display: none;
    }

    .bubble_cont .attach {
        padding: 10px;
        background-color: #fff;
        min-height: 75px;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        min-width: 250px;
        max-width: 300px;
        margin: 2px;
        position: relative;
    }

        .bubble_cont .attach:after {
            display: none;
            content: '';
            position: absolute;
            top: 8px;
            right: -13px;
            z-index: 99;
            border: 7px solid transparent;
            border-left-color: #FFF;
        }

    .bubble_cont .attach_bd .cover {
        display: table-cell;
        padding-right: 10px;
    }

    .bubble_cont .attach_bd .cont {
        display: table-cell;
        vertical-align: top;
    }

        .bubble_cont .attach_bd .cont .title {
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            word-wrap: normal;
            max-width: 200px;
        }

        .bubble_cont .attach_bd .cont .opr {
            margin-top: 25px;
        }

            .bubble_cont .attach_bd .cont .opr a {
                color: #35ac2f;
                text-decoration: none;
            }

    .bubble_cont .reader {
        padding: 10px;
    }

        .bubble_cont .reader .link {
            display: block;
            text-decoration: none;
            color: #000;
            width: 302px;
        }

        .bubble_cont .reader .title {
            font-weight: 400;
        }

        .bubble_cont .reader .date {
            color: #999;
        }

        .bubble_cont .reader .cover {
            height: 160px;
            width: 300px;
            margin: 5px 0;
            border: 1px solid #E8e8e8;
        }

        .bubble_cont .reader .more {
            margin-top: 10px;
            line-height: 30px;
            border-top: 1px solid #ddd;
        }

    .bubble_cont .location {
        position: relative;
        overflow: hidden;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
    }

        .bubble_cont .location .img {
            width: 250px;
            height: 250px;
            display: block;
        }

        .bubble_cont .location .desc {
            position: absolute;
            bottom: 0;
            background-color: rgba(0,0,0,.6);
            color: #fff;
            width: 230px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            word-wrap: normal;
            padding: 5px 10px;
        }

.me .bubble_cont .voice i {
    float: right;
}

.me .bubble_cont .voice .duration {
    left: -80px;
    text-align: right;
}

.me .bubble_cont .card:after {
    right: -13px;
}

.me .bubble_cont .luckmoney:after {
    display: none;
}

.me .bubble_cont .luckmoney:before {
    position: absolute;
    content: '';
    top: 10px;
    right: -14px;
    z-index: 99;
    border: 7px solid transparent;
    border-left-color: #FA9D3B;
}

.emoticon {
    padding: 0 15px;
}

.message {
    margin-bottom: 16px;
    float: left;
    width: 100%;
}

    .message .avatar {
        width: 40px;
        height: 40px;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        float: left;
        cursor: pointer;
    }

    .message .nickname {
        font-weight: 400;
        padding-left: 10px;
        font-size: 12px;
        height: 22px;
        line-height: 24px;
        color: #4f4f4f;
        width: 350px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-wrap: normal;
    }

    .message .content {
        overflow: hidden;
    }

    .message .custom_emoji {
        width: 60px;
    }

    .message.me {
        float: right;
        text-align: right;
        clear: right;
    }

        .message.me .avatar {
            float: right;
        }

        .message.me .content {
            overflow: hidden;
        }

.message_empty {
    text-align: center;
    margin-top: 130px;
    color: #ccc;
    font-size: 13px;
}

.message_system {
    text-align: center;
    margin: 10px auto;
    max-width: 50%;
}

    .message_system .content {
        display: inline-block;
        background-color: #dcdcdc;
        font-size: 12px;
        padding: 1px 18px;
        color: #fff;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    }

.dh-message {
    position: relative;
    clear:both;
    width: 300px;
    margin: 10px;
    min-height: 50px;
}

    /*.dh-message.fromplatform { text-align: right; clear: right; }*/

    .dh-message .logo {
        position: absolute;
        left: 0px;
        top: 0px;
        height: 35px;
        width: 35px;
        border-radius: 3px;
        box-shadow: 0px 0px 5px rgba(0,0,0,.4);
    }

    .dh-message .content {
        max-width: 300px;
        min-height: 1em;
        vertical-align: top;
        position: relative;
        text-align: left;
        font-size: 14px;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        padding: 8px;
        margin-left: 50px;
        word-wrap: break-word;
        background-color:#7cc6f6;
        box-shadow: 0 3px 14px rgba(0,0,0,.4);
    }

        .dh-message .content::before {
            content: "";
            position: absolute;
            top: 3px;
            left: -9px;
            width: 0;
            height: 0;
            border-top: 8px solid transparent;
            border-right: 16px solid #7cc6f6;
            border-bottom: 8px solid transparent;
            /*position: absolute;
            top: 34px;
            border: 16px solid transparent;
            content: " ";
            border-right-color: #7cc6f6;
            border-right-width: 4px;*/
        }

        .dh-message .content img {
            max-width: 233px;
        }

.dh-message-me {
    position: relative;
    clear:both;
    width: 390px;
    margin: 10px;
    min-height: 50px;
}

    .dh-message-me .logo {
        position: absolute;
        right: 0px;
        top: 0px;
        height: 35px;
        width: 35px;
        border-radius: 3px;
        box-shadow: 0px 0px 5px rgba(0,0,0,.4);
    }

    .dh-message-me .content {
        max-width: 250px;
        min-height: 1em;
        vertical-align: top;
        position: relative;
        text-align: left;
        font-size: 14px;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        padding: 8px;
        word-wrap: break-word;
        background-color: #eee;
        float: right;
        margin-right: 50px;
        box-shadow: 0 3px 14px rgba(0,0,0,.4);
    }

        .dh-message-me .content::before {
            content: "";
            position: absolute;
            top: 3px;
            right: -9px;
            width: 0;
            height: 0;
            border-top: 8px solid transparent;
            border-left: 16px solid #eee;
            border-bottom: 8px solid transparent;
            /*position: absolute;
            top: 34px;
            border: 16px solid transparent;
            content: " ";
            border-right-color: #7cc6f6;
            border-right-width: 4px;*/
        }

        .dh-message-me .content img {
            max-width: 233px;
        }
